import request from '@/utils/request'
// 登录接口
export function login (mobile, code) {
  return request({
    method: 'POST',
    url: '/v1_0/authorizations',
    data: {
      mobile,
      code
    }
  })
}
// 获取个人信息接口
export function userInfo () {
  return request({
    url: '/v1_0/user/profile',
    method: 'Get'
  })
}
